package com.peas.platform.module.icims.budget.apply.controller.vo;

import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Size;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("一上预算绩效指标")
public class BudgetOneKpiVo extends BaseVo {

    //（一上预算表）外键
    @ApiModelProperty(value = "一上预算表ID")
    private Long budgetOneId;

    //0总目标，1本年度绩效目标
    @ApiModelProperty(value = "绩效目标分类")
    @Size(max = 4, message = "绩效目标分类不能超过4个字符")
    private String performanceType;

    @ApiModelProperty(value = "指标等级")
    private Integer level;

    @ApiModelProperty(value = "指标编码")
    @Size(max = 200, message = "指标编码不能超过200个字符")
    private String kpiCode;

    @ApiModelProperty(value = "指标名称")
    @Size(max = 200, message = "指标名称不能超过200个字符")
    private String kpiName;

    //手动输入
    @ApiModelProperty(value = "指标内容")
    @Size(max = 200, message = "指标内容不能超过200个字符")
    private String kpiContent;

    //手动输入
    @ApiModelProperty(value = "指标值")
    @Size(max = 200, message = "指标值不能超过200个字符")
    private String kpiValue;

    @ApiModelProperty(value = "周期指标值")
    @Size(max = 200, message = "周期指标值不能超过200个字符")
    private String kpiValuePeriod;

    //手动输入
    @ApiModelProperty(value = "备注")
    @Size(max = 200, message = "备注不能超过200个字符")
    private String remark;

    //倒序排序
    @ApiModelProperty(value = "排序权重")
    private Integer weight;

    //（一上预算绩效指标表）外键
    @ApiModelProperty(value = "上级指标ID")
    private Long parentId;

}
